<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<table>
			
			<tr>
				<td>1</td><td>2</td><td>3</td>
			</tr>
			<tr>
				<td>1</td><td>2</td><td>3</td>
			</tr>
			<tr><td>1</td><td>2</td><td>3</td></tr>
			<tr><td>1</td><td>2</td><td>3</td></tr>
			<tr><td>1</td><td>2</td><td>3</td></tr>
			
		</table>
		
		
		
<script>
	var str = '<table border="1">';
	for(var i=1;i<=9;i++){
//		str += '<tr><td>1</td><td>1</td><td>1</td></tr>';
		str += '<tr>';
		for(var j=1;j<=9;j++){
			str += '<td>'+i+'</td>';
		}
		str += '</tr>';
	}
	str += '</table>';
	document.write(str);
</script>
	</body>
</html>
